package com.example.administrator.managesystem.bean;

import java.util.List;

public class GoodsListBean {


    /**
     * data : [{"goods_name":"土豆","image":"static/images/album/2019-02/1307a012-3a69-11e9-b2ae-2cfda1bd7dae-PictureSelector_20190221_172525.png","price":30,"sale_id":2,"time":"2019-02-27 16:24","title":"昭觉土豆","user_id":3}]
     * status : 200
     */
    private String msg;
    private int status;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * goods_name : 土豆
         * image : static/images/album/2019-02/1307a012-3a69-11e9-b2ae-2cfda1bd7dae-PictureSelector_20190221_172525.png
         * price : 30.0
         * sale_id : 2
         * time : 2019-02-27 16:24
         * title : 昭觉土豆
         * user_id : 3
         */
        private boolean isCheck;
        private String goods_name;
        private String image;
        private double price;
        private int sale_id;
        private String time;
        private String title;
        private int user_id;
        private String stock;

        public String getStock() {
            return stock;
        }

        public void setStock(String stock) {
            this.stock = stock;
        }

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getSale_id() {
            return sale_id;
        }

        public void setSale_id(int sale_id) {
            this.sale_id = sale_id;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "isCheck=" + isCheck +
                    ", goods_name='" + goods_name + '\'' +
                    ", image='" + image + '\'' +
                    ", price=" + price +
                    ", sale_id=" + sale_id +
                    ", time='" + time + '\'' +
                    ", title='" + title + '\'' +
                    ", user_id=" + user_id +
                    '}';
        }
    }
}
